package net.tngou.crawler.pojo;

import com.alibaba.fastjson.JSONObject;

public class Drugpackage extends POJO {

	private String number 	;//		注册证号 	
	private String name 	;//		品种名称 	
	private String company 	;//		企业名称 	
	private String source 	;//		产品来源 	
	private String date 	;//	 	批准日期 	
	private String spec 	;//		规格 	 		 		
	public Drugpackage() {}
	public Drugpackage(JSONObject json) {
		if(json!=null) {
			this.number=json.getString("注册证号");
			this.name=json.getString("品种名称"); 	
			this.company=json.getString("企业名称"); 	
			this.source=json.getString("产品来源"); 	
			this.date=json.getString("批准日期"); 	
			this.spec=json.getString("规格"); 	
						 	
		}
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getSpec() {
		return spec;
	}
	public void setSpec(String spec) {
		this.spec = spec;
	}
	

}
